QT += core mqtt concurrent

CONFIG += c++17 cmdline

# Custom macro
#DEFINES += DEV_DATA
DEFINES += CLOUD_IP_ADDR
DEFINES +=ESPORT_BOX
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

LIBS += -lssl -lcrypto

SOURCES += \
        MqttClient/mqttdaemon.cpp \
        configmanage.cpp \
        daemonproxy.cpp \
        downloadtasks.cpp \
        ebnetwork.cpp \
        main.cpp \
        MqttClient/mqttdevicereg.cpp \
        osdeamonservice.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    MqttClient/mqttdaemon.h \
    MqttClient/mqttdevicereg.h \
    configmanage.h \
    daemonproxy.h \
    downloadtasks.h \
    ebnetwork.h \
    osdeamonservice.h
